package com.stepcleanse.system.mapper;

import java.util.List;

import com.stepcleanse.system.domain.LaundryOrder;

/**
 * 洗涤订单Mapper接口
 *
 * @author stepcleanse
 * @date 2024-12-09
 */
public interface LaundryOrderMapper {
    /**
     * 查询洗涤订单
     *
     * @param factoryOrderId 洗涤订单主键
     * @return 洗涤订单
     */
    public LaundryOrder selectLaundryOrderByFactoryOrderId(String factoryOrderId);

    /**
     * 查询洗涤订单列表
     *
     * @param laundryOrder 洗涤订单
     * @return 洗涤订单集合
     */
    public List<LaundryOrder> selectLaundryOrderList(LaundryOrder laundryOrder);

    /**
     * 新增洗涤订单
     *
     * @param laundryOrder 洗涤订单
     * @return 结果
     */
    public int insertLaundryOrder(LaundryOrder laundryOrder);

    /**
     * 修改洗涤订单
     *
     * @param laundryOrder 洗涤订单
     * @return 结果
     */
    public int updateLaundryOrder(LaundryOrder laundryOrder);

    /**
     * 删除洗涤订单
     *
     * @param factoryOrderId 洗涤订单主键
     * @return 结果
     */
    public int deleteLaundryOrderByFactoryOrderId(String factoryOrderId);

    /**
     * 批量删除洗涤订单
     *
     * @param factoryOrderIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLaundryOrderByFactoryOrderIds(String[] factoryOrderIds);
}
